﻿using System.ComponentModel.DataAnnotations;

namespace NpCrm.Domain
{
    public class DonationBin : NpCrmEntityBase
    {
        [Key]
        [DatabaseGenerated(DatabaseGenerationOption.Identity)]
        public int DonationBinId { get; set; }

        [StringLength(100, ErrorMessage = "Description too long")]
        public string Description { get; set; }

        public virtual Address Location { get; set; }
    }
}
